package com.wang.designpattern.builder.improve;

public class CommonHouseBuilder implements IBuilder {

    @Override
    public void buildBasic() {
        house.setBasic("普通房子打地基");
    }

    @Override
    public void buildWalls() {
        house.setWall("普通房子砌墙");
    }

    @Override
    public void buildRoof() {
        house.setRoof("普通房子封顶");
    }

    @Override
    public House getResult() {
        return house;
    }
}
